<!-- $Id: bonus_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<form method="POST" action="bonus.php?act=batch&bonus_type={$smarty.get.bonus_type}" name="listForm">
<!-- start user_bonus list -->
<div class="list-div" id="listDiv">
{/if}

  <table cellpadding="3" cellspacing="1">
    <tr>
      <th>编号</th>
      <th>卡号</th>
      <th>密码</th>
      <th>预存款</th>
      <th>绑定用户</th>
      <th>绑定时间</th>
      <th>添加时间</th>
    </tr>
    {foreach from=$rank_card_list item=card_list}
    <tr>
      <td align="center" >{$card_list.id}</td>
      <td align="center" >{$card_list.card_no}</td>
      <td align="center" >{$card_list.card_password}</td>
      <td align="right" >{$card_list.money}</td>
	  {if $card_list.user_name}
      <td align="center" >{$card_list.user_name}</td>
	  {else}
	  <td align="center" >-</td>
	  {/if}
      {if $card_list.use_time}
      <td align="center" >{$card_list.use_time}</td>
	  {else}
	  <td align="center" >-</td>
	  {/if}
	  <td align="center" >{$card_list.add_time}</td>
    {/foreach}
  </table>

  <table cellpadding="4" cellspacing="0">
    <tr>
      <td><input type="submit" name="drop" id="btnSubmit" value="{$lang.drop}" class="button" disabled="true" />
      {if $show_mail}<input type="submit" name="mail" id="btnSubmit1" value="{$lang.send_mail}" class="button" disabled="true" />{/if}</td>
      <td align="right">{include file="page.htm"}</td>
    </tr>
  </table>

{if $full_page}
</div>
<!-- end user_bonus list -->
</form>

<script type="text/javascript" language="JavaScript">
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};
  listTable.query = "query_rank_card_list";

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}

  {literal}
  onload = function()
  {
    // 开始检查订单
    startCheckOrder();
    document.forms['listForm'].reset();
  }
  {/literal}
</script>
{include file="pagefooter.htm"}
{/if}